package com.yaps.petstore.stateful;

import com.yaps.petstore.entity.catalog.Item;

import javax.ejb.Local;
import java.util.List;

/**
 * @author Antonio Goncalves
 */
@Local
public interface ShoppingCartLocal {

    void addItem(Item item);

    void removeItem(Item item);

    Float getTotal();

    void empty();

    List<CartItem> getCartItems() ;
}